package com.qing.service;

import com.qing.pojo.Employee;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qing.pojo.vo.EmployeeInfVo;
import com.qing.pojo.vo.EmployeeSalaryVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author qinghua
 * @since 2022-06-06
 */
public interface EmployeeService extends IService<Employee> {

    /**
     * 查询所有员工的职位和薪资
     *
     * @return {@link List< EmployeeSalaryVo> }
     * @author qinghua
     * @date 2022/6/13 19:13
     */
    List<EmployeeSalaryVo> queryAllEmployeeInf();

    List<EmployeeSalaryVo> queryAllEmployeeSalary();

    Boolean deleteEmployee(Integer employeeId, Integer userId);

    Boolean updateInf(EmployeeInfVo employeeInfVo);

    Boolean insertByExcel(MultipartFile file);

}
